package com.jinsilu.freight.http.response;

import com.google.gson.annotations.SerializedName;

/**
 * Fir.im App信息
 *
 * @author yangyang
 * @time 2021/03/11 14:25
 */
public class AppInfoBean {

    /**
     * name : 陇原春
     * version : 21
     * changelog : update
     * updated_at : 1615442313
     * versionShort : 1.0.0
     * build : 21
     * installUrl : https://download.jappstore.com/apps/603364b023389f7ecfe89a84/install?download_token=659c5653234e2e650a9d10d7e7e055fb&source=update
     * install_url : https://download.jappstore.com/apps/603364b023389f7ecfe89a84/install?download_token=659c5653234e2e650a9d10d7e7e055fb&source=update
     * direct_install_url : https://download.jappstore.com/apps/603364b023389f7ecfe89a84/install?download_token=659c5653234e2e650a9d10d7e7e055fb&source=update
     * update_url : http://jappstore.com/kfgd
     * binary : {"fsize":15250947}
     */

    @SerializedName("name")
    private String name;
    @SerializedName("version")
    private String version;
    @SerializedName("changelog")
    private String changelog;
    @SerializedName("updated_at")
    private int updatedAt;
    @SerializedName("versionShort")
    private String versionShort;
    @SerializedName("build")
    private String build;
    @SerializedName("installUrl")
    private String installUrl;
    @SerializedName("install_url")
    private String _installUrl;
    @SerializedName("direct_install_url")
    private String directInstallUrl;
    @SerializedName("update_url")
    private String updateUrl;
    @SerializedName("binary")
    private BinaryBean binary;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getChangelog() {
        return changelog;
    }

    public void setChangelog(String changelog) {
        this.changelog = changelog;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getVersionShort() {
        return versionShort;
    }

    public void setVersionShort(String versionShort) {
        this.versionShort = versionShort;
    }

    public String getBuild() {
        return build;
    }

    public void setBuild(String build) {
        this.build = build;
    }

    public String getInstallUrl() {
        return installUrl;
    }

    public void setInstallUrl(String installUrl) {
        this.installUrl = installUrl;
    }

    public String get_installUrl() {
        return _installUrl;
    }

    public void set_installUrl(String _installUrl) {
        this._installUrl = _installUrl;
    }

    public String getDirectInstallUrl() {
        return directInstallUrl;
    }

    public void setDirectInstallUrl(String directInstallUrl) {
        this.directInstallUrl = directInstallUrl;
    }

    public String getUpdateUrl() {
        return updateUrl;
    }

    public void setUpdateUrl(String updateUrl) {
        this.updateUrl = updateUrl;
    }

    public BinaryBean getBinary() {
        return binary;
    }

    public void setBinary(BinaryBean binary) {
        this.binary = binary;
    }

    public static class BinaryBean {
        /**
         * fsize : 15250947
         */

        @SerializedName("fsize")
        private int fsize;

        public int getFsize() {
            return fsize;
        }

        public void setFsize(int fsize) {
            this.fsize = fsize;
        }
    }
}
